/**
 * 
 */
package com.wistech.search.solr.score.product.rule;

import java.util.Map;

/**
 * @author Liuye
 * 
 */
public final class OrderNumScoreRule extends ProductScoreRule {
	public static final String KEY = "orderNum";

	public void apply(Map<String, Object> scoreData) {
	}

	protected float calcClickCount(float clickCount, float productMaxClickCount) {
		return (1f - (productMaxClickCount - clickCount) / productMaxClickCount) * 100f;
	}
}
